﻿using Cofe.Core.Dynamic;
using Cofe.Core.Property;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core
{    
    public interface ICofeDirectoryInfo : ICofeSystemInfo
    {
        //[Obsolete]
        bool IsFileBasedFS { get; } //Obsoluted.

        bool HasSubFolder { get; }
        bool HasFiles { get; }        

        //[EditorBrowsable(EditorBrowsableState.Never)]
        //Task<IEnumerable<T>> ListAsync<T>() where T : IDynamicPropertyInterface;
        //[EditorBrowsable(EditorBrowsableState.Never)]
        //IEnumerable<T> List<T>() where T : IDynamicPropertyInterface;
    }

    public interface ICofeItemInfo : ICofeSystemInfo
    {
        Int64 Length { get; }
    }
}
